<template>
  <div class="login-container">
    <div class="login-box">
      <div class="logo-box">
        <div>
          <a class="logo-title">
            <img :src="siteData.backLogo" class="logo-img" >
          </a>
        </div>
        <img
          class="logoImg"
          src="@/assets/微信图片_20250207164441.png"
          alt=""
        >
      </div>

      <app-main />
    </div>

    <div class="footer" v-html="siteData.copyRight" />
  </div>
</template>

<script>
import { mapGetters } from 'vuex'
import AppMain from '@/layout/components/AppMain'

export default {
  name: 'LoginLayout',
  components: { AppMain },
  computed: {
    ...mapGetters(['siteData'])
  }
}
</script>

<style lang="scss" scoped>
@import "~@/styles/login.scss";
.logo-box {
  position: relative;
  .logoImg {
    width: 80px;
    height: 80px;
    position: absolute;
    left: 50%;
    top: -10px;
    transform: translateX(-50%);
  }
}
</style>
